<?php
	class IMDB_Search_Result_Title extends IMDB_Search_Result {
		
		private $iYear;
		private $aAlternates;
		
		public function __construct($oInput) {
			parent::__construct($oInput);
			
			$this->iYear = $oInput->iYear;
			$this->aAlternates = (isset($oInput->aAlternateTitles) ? $oInput->aAlternateTitles : false);
		}
		
		public function getYear() {
			return $this->iYear;
		}
		public function getAlternates() {
			return $this->aAlternates;
		}
	}
?>